package jnpf.base;

import jnpf.base.fallback.VisualFilterApiFallback;
import jnpf.utils.FeignName;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(name = FeignName.VUSUALDEV_SERVER_NAME,fallback = VisualFilterApiFallback.class,path ="/filter")
public interface VisualFilterApi {
    @PostMapping("getWrapper")
    ActionResult wrapperHandle(@RequestBody Map params);
}
